package com.aiti.lulian.controller;

import java.util.List;
import javax.servlet.http.HttpServletResponse;

import com.aiti.base.core.base.controller.BaseController;
import com.aiti.base.core.base.controller.WebController;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.entity.ActivitySummaryCooperateDetail;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.aiti.lulian.service.IActivitySummaryCooperateDetailService;


/**
 * 活动总结-合作详情Controller
 * 
 * @author ruoyi
 * @date 2024-09-10
 */
@RestController
@RequestMapping("/summary/cooperate")
public class ActivitySummaryCooperateDetailController extends WebController
{
    @Autowired
    private IActivitySummaryCooperateDetailService activitySummaryCooperateDetailService;

    /**
     * 查询活动总结-合作详情列表
     */
    @GetMapping("/list")
    public Message list(ActivitySummaryCooperateDetail activitySummaryCooperateDetail)
    {
        Page page = startPage();
        List<ActivitySummaryCooperateDetail> list = activitySummaryCooperateDetailService.summaryCooperatePage(page, activitySummaryCooperateDetail);
        return this.Success(this.getPageResult(list, (int)page.getTotal()));
    }




}
